//
//  LGPatientDeleteView.m
//  HeartDiseaseManage
//
//  Created by 1234 on 2023/4/7.
//  患者被删除

#import "LGPatientDeleteView.h"

@interface LGPatientDeleteView()

/**   */
@property (nonatomic , strong)UIButton *deleteBtn;

@end

@implementation LGPatientDeleteView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.deleteBtn];
        self.backgroundColor = [UIColor colorWithString:@"#EDEDED"];
    }
    return self;
}

-(UIButton *)deleteBtn{
    if(!_deleteBtn){
        _deleteBtn = [UIButton buttonWithTitle:@"改患者已被删除" titleFont:LGFont(16) textColor:@"#888888" imageName:@"聊天咨询-被删除"];
        _deleteBtn.frame = CGRectMake(0, viewPix(5), Screen_W, viewPix(20));
        _deleteBtn.titleEdgeInsets = UIEdgeInsetsMake(0, 8, 0, 0);
    }
    return _deleteBtn;
}



@end
